export default {
  setUserInfo(state, info) {
    state.name = info.name
    state.avatar = info.avatar
    state.user_contact = info.user_contact
    state.rank = info.rank
    state.fraction = info.fraction
    state.defeat_rate = info.defeat_rate
  }
}
